You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Vector Structure > Vector Methods > NormC Method > Vector.NormC Method ([In] TDenseMtxVec, bool)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Vector.NormC Method ([In] TDenseMtxVec, bool)

The C-norm.

Syntax
C#
Visual Basic
public double NormC([In] TDenseMtxVec Vec, bool RelativeError);

Calculates the C norm: ||V-Vec||, where V is the calling vector. If the NormC is called without any parameters, the NormC calculates the norm of the calling vector. The C norm of ||V-Vec|| is defined by the formula: 

 

If RelativeError is true then the computed norm is divided by the norm of V, and the function returns the "relative error": 

 

var a,b: Vector; c: double; begin a.SetIt(False,[1,2,3,4]); b.SetIt(False,[4,3,2,1]); c := a.NormC(b,False); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!